package com.litchi.tutor.service;

import com.litchi.tutor.common.entity.Deliver;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xyouzi
 * @since 2021-11-22
 */
public interface DeliverService extends IService<Deliver> {

    void autoDeliverByTeacher(Integer recruitId, HttpServletRequest request);

    void autoDeliverByParent(Integer recruitId,Integer teacherId, HttpServletRequest request);

//    List<Deliver> queryDeliverByTeacher(Integer statue);

//    List<Deliver> queryBeRecruitedByTeacher(Integer statue);

    List<Deliver> queryDeliverByTeacherOrParent(Integer statue);

    List<Deliver> queryRecruitedByTeacherOrParent(Integer statue);
}
